package com.finance.service.customer;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.finance.dao.customer.AccountExecMapper;
import com.finance.entity.customer.AccountExec;

@Service("AccountExecService")
public class AccountExecService {
	
	@Resource(name = "AccountExecMapper")
	private AccountExecMapper accountExecMapper;
	
    public void deleteByPrimaryKey(Integer execId){
    	accountExecMapper.deleteByPrimaryKey(execId);
    }

    public void insert(AccountExec record){
    	accountExecMapper.insert(record);
    }

    public void insertSelective(AccountExec record){
    	accountExecMapper.insertSelective(record);
    }

    public AccountExec selectByPrimaryKey(Integer execId){
    	return accountExecMapper.selectByPrimaryKey(execId);
    }

    public void updateByPrimaryKeySelective(AccountExec record){
    	accountExecMapper.updateByPrimaryKeySelective(record);
    }

    public void updateByPrimaryKey(AccountExec record){
    	accountExecMapper.updateByPrimaryKey(record);
    }
    
    public List<AccountExec> findByList(String kfUserId){
    	return accountExecMapper.findByList(kfUserId);
    }
}
